package SweetPea;

use warnings;
use strict;
use SweetPea::Seeds;

=head1 NAME

SweetPea - Thee Perl Web Application Development Framework!

=head1 VERSION

Version 0.01

=cut

our $VERSION = '0.1.0';

sub new {
    my $self = shift;
    return SweetPea::Seeds->new($self);
}

=head1 SYNOPSIS

SweetPea is designed primarily as a PnP (Plug-n-Play) web framework similar to that of CakePHP (http://cakephp.org) which is available for PHP programmers.
SweetPea was designed using the best techniques and design patterns from other web frameworks hailing from various programming platforms as well as Perl,
e.g. (Catalyst, CGI::Application, Rails, and CakePHP). The need for SweetPea arose after performing a contrast and comparison between various web frameworks, specifically
focusing on the CPAN modules available o Perl developers. The need, a web framework that requires little to no configuration (PnP) but handles all the standard web
application facilities e.g. email, sessions, authentication, etc, the result, no viable candidates. CGI::Application was a pretty straight forward install and configuration
though eventually it lost its luster as most common facilities are missing and the core concept seemed to be not-well-thought-out, it also lacked to integration of common web
application components. On the other hand, Catalyst, the end-all-be-all of Perl web application frameworks, while robust, complete and sophisticated, it lacks ease of use, has
a steep learning curve, has installation and configuration problems in non-standard system configurations, and has a massive amount of CPAN dependencies which will almost always lead
to some failure or issue during installation. So the question became, "Where is the one-click download and configure Perl web framework?". Here, Codename SweetPea (or Sweet Perl), it has
been engineered to be self-contained, meaning you could literally copy and paste the application directory to a completely different system with a differnt version of Perl and
it will run exactly the same as it did on the system it came from regardless of the local library or other environment issues. All of the goodies you would expect to exist in a web application
framework are here, tied together and ready to be accessed. Simply download, configure, design and implement easier than ever before (with Perl that is).

    use SweetPea;

    my $s = SweetPea->new();
    ...

=head1 AUTHOR

Al Newkirk, C<< <al.newkirk at awnstudio.com> >>

=head1 BUGS

Please report any bugs or feature requests to C<bug-sweetpea at rt.cpan.org>, or through
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SweetPea>.  I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.

=head1 SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc SweetPea

You can also look for information at:

=over 4

=item * RT: CPAN's request tracker

L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=SweetPea>

=item * AnnoCPAN: Annotated CPAN documentation

L<http://annocpan.org/dist/SweetPea>

=item * CPAN Ratings

L<http://cpanratings.perl.org/d/SweetPea>

=item * Search CPAN

L<http://search.cpan.org/dist/SweetPea/>

=back


=head1 ACKNOWLEDGEMENTS


=head1 COPYRIGHT & LICENSE

Copyright 2009 Al Newkirk, all rights reserved.

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.


=cut

1; # End of SweetPea
